home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / src / X11 / Fresco / build / Unix / config / cf / linux.cf < prev    next >
Text File  |  1995-07-12  |  3KB  |  112 lines

  1. XCOMM platform:  $XConsortium: linux.cf,v 1.11 95/01/23 18:32:03 kaleb Exp $
  2. XCOMM platform:  $XFree86: xc/config/cf/linux.cf,v 3.22 1995/01/28 15:40:22 dawes Exp $
  3.  
  4. #define OSName            Linux
  5. #define OSVendor        /**/
  6. #define OSMajorVersion        1
  7. #define OSMinorVersion        2
  8. #define OSTeenyVersion        1
  9.  
  10. /* Fresco configuration */
  11. #ifndef DefsImplNeedLibs
  12. #define DefsImplNeedLibs /**/
  13. #endif
  14.  
  15. #ifndef UseElfFormat
  16. #define UseElfFormat        YES
  17. #endif
  18. #ifdef HasGcc
  19. #undef HasGcc
  20. #endif
  21. #define HasGcc            YES
  22. #define HasGcc2            YES
  23. #ifndef HasGcc2ForCplusplus
  24. # define HasGcc2ForCplusplus    YES
  25. #endif
  26. #define GccUsesGas        YES
  27. #define UseGas            YES
  28. #define GnuCpp            YES
  29. #define HasShadowPasswd        NO
  30. #ifndef HasLibCrypt
  31. # define HasLibCrypt        NO
  32. #endif
  33. #define HasPutenv        YES
  34. #define HasShm            YES
  35. #define HasSockets        YES
  36.  
  37. #define AvoidNullMakeCommand    YES
  38. #define StripInstalledPrograms    YES
  39. #define CompressAllFonts    YES
  40. #define Malloc0ReturnsNull    YES
  41. #define NeedConstPrototypes    YES
  42. #define NeedFunctionPrototypes    YES
  43. #define NeedNestedPrototypes    YES
  44. #define NeedVarargsPrototypes    YES
  45. #define NeedWidePrototypes    NO
  46.  
  47. #if UseElfFormat
  48.  
  49. #ifndef USE_ANSI
  50. /* Don't use any. */
  51. #define DefaultCCOptions
  52. #endif
  53.  
  54. #define CcCmd            gcc 
  55. #define AsCmd            as
  56. #define LdCmd            ld -m elf_i386
  57. #define AsmDefines        -D__ELF__
  58. #define CplusplusCmd        g++
  59. #define LdCombineFlags        -r -x
  60. #define ExtraLibraries         -ldl -lm
  61. #else
  62. #define CcCmd            gcc -b i486-linuxaout
  63. #define AsCmd            /usr/i486-linuxaout/bin/as
  64. #define LdCmd            /usr/i486-linuxaout/bin/ld -m i386linux
  65. #define AsmDefines        -DUSE_GAS
  66. #define LdCombineFlags        -r
  67. #define ExtraLibraries         -lm
  68. #endif
  69. #define CppCmd            /lib/cpp
  70. #ifdef USE_BYACC
  71. #define YaccCmd            byacc
  72. #else
  73. #define YaccCmd            bison -y
  74. #endif
  75. #define LexCmd            flex -l
  76. #define LexLib            -lfl
  77. #define PreProcessCmd        CcCmd -E
  78. #define PostIncDir        `CcCmd --print-libgcc-file-name | sed 's/libgcc.a/include/'`
  79. #define OptimizedCDebugFlags    -pipe -O2 -m486
  80. #define StandardDefines        -Dlinux -D__i386__ -D_POSIX_SOURCE \
  81.                 -D_BSD_SOURCE -D_GNU_SOURCE -DX_LOCALE
  82. #define XawI18nDefines        -DUSE_XWCHAR_STRING -DUSE_XMBTOWC
  83. #define HasWChar32        YES
  84. #define StandardCppDefines    -traditional StandardDefines
  85. #define ServerOSDefines        XFree86ServerOSDefines -DDDXTIME -DPART_NET
  86. #define ServerExtraDefines    -DGCCUSESGAS XFree86ServerDefines
  87. #define ServerExtraSysLibs    $(CBRT) -lm
  88. #define ConnectionFlags        -DUNIXCONN -DTCPCONN
  89.  
  90. /* Some of these man page defaults are overriden in the above OS sections */
  91. #ifndef ManSuffix
  92. # define ManSuffix    1x
  93. #endif
  94. #ifndef ManDir
  95. # define ManDir        $(MANSOURCEPATH)1
  96. #endif
  97. #ifndef LibManSuffix
  98. # define LibManSuffix    3x
  99. #endif
  100. #ifndef LibmanDir
  101. # define LibmanDir    $(MANSOURCEPATH)3
  102. #endif
  103. #ifndef FileManSuffix
  104. # define FileManSuffix    5x
  105. #endif
  106. #ifndef FileManDir
  107. # define FileManDir    $(MANSOURCEPATH)5
  108. #endif
  109.  
  110. #include <lnxLib.rules>
  111. #include <xfree86.cf>
  112.